package com.ssy.lingxi.after.sale.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

public class ReplaceGoodsDetailSetStatusVO implements Serializable {
    private static final long serialVersionUID = 1995247186771092006L;

    /**
     * 换货id
     */
    @NotNull(message = "换货id要大于等于0")
    @PositiveOrZero(message = "换货id要大于等于0")
    private Long replaceId;

    /**
     * 换货商品id
     */
    @NotNull(message = "换货商品id要大于等于0")
    @PositiveOrZero(message = "换货商品id要大于等于0")
    private Long replaceGoodsId;

    /**
     * 是否需要退货  0-否；1-是
     */
    @NotNull(message = "是否需要退货不能为空")
    private Integer isNeed;

    public Long getReplaceId() {
        return replaceId;
    }

    public void setReplaceId(Long replaceId) {
        this.replaceId = replaceId;
    }

    public Long getReplaceGoodsId() {
        return replaceGoodsId;
    }

    public void setReplaceGoodsId(Long replaceGoodsId) {
        this.replaceGoodsId = replaceGoodsId;
    }

    public Integer getIsNeed() {
        return isNeed;
    }

    public void setIsNeed(Integer isNeed) {
        this.isNeed = isNeed;
    }
}
